package com.empire.module.member.controller.admin.mappolygonpoint.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "点-in-多边形判断结果VO")
public class PointInPolygonRespVO {
    @Schema(description = "是否在任何多边形内")
    private Boolean isInside;

    @Schema(description = "所在多边形列表（ID+名称）")
    private List<PolygonSimpleVO> insidePolygons;

    @Data
    public static class PolygonSimpleVO {
        @Schema(description = "多边形ID")
        private String id;

        @Schema(description = "多边形名称")
        private String name;

        @Schema(description = "关联配置ID")
        private String configId;

        @Schema(description = "关联配置名称")
        private String configName;
    }
}









